package com.app.twth.ui.checkin.submit;


import com.app.twth.app.Constant;
import com.app.twth.base.BaseModel;
import com.app.twth.bean.BaseResponseEntity;
import com.app.twth.net.JsonCallBack;
import com.app.twth.utils.GsonUtil;
import com.lzy.okgo.OkGo;

public class CheckinSubmitDataModel extends BaseModel {
    public <T> void checkinSubmit(CheckinSubmitQr receivingQr, JsonCallBack jsonCallBack) {
        OkGo.<BaseResponseEntity<T>>post(Constant.checkinSubmit)
                .tag(this)
                .upJson(GsonUtil.toJson(receivingQr))
                .execute(jsonCallBack);
    }

}